package com.yxb.orders.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yxb.common.annotation.Excel;
import com.yxb.common.core.domain.BaseEntity;

/**
 * 我的接单对象 my_orders
 * 
 * @author 林德炫
 * @date 2025-03-29
 */
@Data
public class MyOrders extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    private Long orderId;

    /** 接单人id */
    @Excel(name = "接单人的user_id")
    private Long userId;

    /** 家长姓名 */
    @Excel(name = "家长姓名")
    private String parentName;

    /** 家长手机 */
    @Excel(name = "家长手机")
    private String parentPhoneNumber;

    /** 教员姓名 */
    @Excel(name = "教员姓名")
    private String teacherName;

    /** 家教详情 */
    @Excel(name = "家教详情")
    private String orderDetail;

    /** 接单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "接单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date acceptedTime;

    /** 接单状态 */
    @Excel(name = "接单状态")
    private String orderStatus;
}
